package edu.hwadee.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Em entity. @author MyEclipse Persistence Tools
 */

public class Em implements java.io.Serializable {

	// Fields

	private Integer emid;
	private Company company;
	private Short assertType;
	private String assertName;
	private String specAndType;
	private Float depreciationRate;
	private Float weight;
	private Set emdepreciations = new HashSet(0);
	private Set ownems = new HashSet(0);

	// Constructors

	/** default constructor */
	public Em() {
	}

	/** full constructor */
	public Em(Company company, Short assertType, String assertName, String specAndType, Float depreciationRate,
			Float weight, Set emdepreciations, Set ownems) {
		this.company = company;
		this.assertType = assertType;
		this.assertName = assertName;
		this.specAndType = specAndType;
		this.depreciationRate = depreciationRate;
		this.weight = weight;
		this.emdepreciations = emdepreciations;
		this.ownems = ownems;
	}

	// Property accessors

	public Integer getEmid() {
		return this.emid;
	}

	public void setEmid(Integer emid) {
		this.emid = emid;
	}

	public Company getCompany() {
		return this.company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public Short getAssertType() {
		return this.assertType;
	}

	public void setAssertType(Short assertType) {
		this.assertType = assertType;
	}

	public String getAssertName() {
		return this.assertName;
	}

	public void setAssertName(String assertName) {
		this.assertName = assertName;
	}

	public String getSpecAndType() {
		return this.specAndType;
	}

	public void setSpecAndType(String specAndType) {
		this.specAndType = specAndType;
	}

	public Float getDepreciationRate() {
		return this.depreciationRate;
	}

	public void setDepreciationRate(Float depreciationRate) {
		this.depreciationRate = depreciationRate;
	}

	public Float getWeight() {
		return this.weight;
	}

	public void setWeight(Float weight) {
		this.weight = weight;
	}

	public Set getEmdepreciations() {
		return this.emdepreciations;
	}

	public void setEmdepreciations(Set emdepreciations) {
		this.emdepreciations = emdepreciations;
	}

	public Set getOwnems() {
		return this.ownems;
	}

	public void setOwnems(Set ownems) {
		this.ownems = ownems;
	}

}